package com.ywjt.platformbusiness.my.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.ywjt.platformbusiness.R;
import com.ywjt.platformbusiness.base.BaseActivity;

public class ActivityWithdraw extends BaseActivity implements View.OnClickListener {

    private LinearLayout llWithDrawType;

    public static void actionStart(Context context) {
        Intent intent = new Intent(context, ActivityWithdraw.class);
        context.startActivity(intent);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.llWithDrawType:
                WithDrawTypeActivity.actionStart(this);
                break;
        }
    }

    @Override
    protected void init(Bundle savedInstanceState) {
        setAndroidNativeLightStatusBar(true);
    }

    @Override
    protected int setLayoutResourceID() {
        return R.layout.activity_withdraw;
    }

    @Override
    protected void initView() {
        setTitleText("提现");
        llWithDrawType=findViewById(R.id.llWithDrawType);
        llWithDrawType.setOnClickListener(this::onClick);
    }

    @Override
    protected void initData() {

    }

    /**
     * 获取要使用的标题栏样式(此函数由子类重写)
     *
     * @return
     */
    @Override
    protected int getTitleBarType() {
        return 0;
    }
}
